<template>
  <div>
    <list-header></list-header>
    <list-condition></list-condition>
  </div>
</template>
<script>

import ListHeader from "@/pages/list/components/Header"
import ListCondition from "@/pages/list/components/Condition"
export default {
   components: { 
     ListHeader,
     ListCondition
   },
  beforeRouteEnter(to, from, next) {
    var UserToken=localStorage.getItem("UserToken");
    if (UserToken) {
       next();
    } else {
       next({ path: '/login', query: { historypath: "/list" }});
    }
  }
};
</script>